package com.axjy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Controller
public class ForwardController {

    @GetMapping("{folder}/{page}/index")
    public String index(@PathVariable("folder") String folder,@PathVariable("page") String page){
        return folder+"/"+page;
    }

}
